﻿#ifndef DAVARIANTVALUENODEWIDGET_H
#define DAVARIANTVALUENODEWIDGET_H
#include "DAUtilNodePluginGlobal.h"
#include "DAAbstractNodeWidget.h"
#include <QWidget>

namespace Ui {
class DAVariantValueNodeWidget;
}

/**
 * @brief FCConstValueNode节点对应的窗口
 */
class DAUTILNODEPLUGIN_API DAVariantValueNodeWidget : public DAAbstractNodeWidget
{
    Q_OBJECT

public:
    explicit DAVariantValueNodeWidget(DAAbstractNodeGraphicsItem *item, QWidget *parent = nullptr);
    ~DAVariantValueNodeWidget();
    //应用设置
    void apply();

private slots:
    void on_comboBoxType_currentIndexChanged(const QString &arg1);

    void on_lineEditValueText_editingFinished();

private:
    Ui::DAVariantValueNodeWidget *ui;
    DADataPackage m_data;
};

#endif // FCVARIANTVALUENODEWIDGET_H
